#ifndef EYERWANDARTIST_EWAPRJFRAGMENT_HPP
#define EYERWANDARTIST_EWAPRJFRAGMENT_HPP

#include "EWAPrjFragmentType.hpp"

namespace Eyer
{
    class EWAPrjFragment
    {
    public:
        virtual ~EWAPrjFragment();

        virtual const EWAPrjFragmentType GetType() const = 0;

        int SetStartAndEnd(int64_t _blockStartTime, int64_t _blockEndTime);

        int SetBlockStartTime(int64_t _blockStartTime);
        int SetBlockEndTime(int64_t _blockEndTime);
        int SetMarginLeft(int64_t _marginLeft);

        int64_t GetBlockStartTime();
        int64_t GetBlockEndTime();
        int64_t GetMarginLeft();

    private:
        int64_t blockStartTime = 0;
        int64_t blockEndTime = 0;
        int64_t marginLeft = 0;
    };
}

#endif //EYERWANDARTIST_EWAPRJFRAGMENT_HPP
